<?php
declare (strict_types = 1);

namespace app\model;

use think\Model;

/**
 * @mixin \think\Model
 */
class C extends Model
{
    function a(){
        return $this->belongsTo(A::class,'id','c_id');
    }
}
